<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateConfigsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('configs', function(Blueprint $table)
		{
			$table->integer('id')->default(1);
			$table->string('name')->nullable();
			$table->string('word')->nullable();
			$table->string('riptive')->nullable();
			$table->string('image')->nullable();
			$table->string('record')->nullable();
			$table->string('info')->nullable();
			$table->string('admin')->nullable();
			$table->string('company')->nullable();
			$table->string('qq')->nullable();
			$table->string('box')->nullable();
			$table->string('phone')->nullable();
			$table->string('fixed')->nullable();
			$table->string('fax')->nullable();
			$table->dateTime('updated_at')->nullable();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('configs');
	}

}
